.. _CIcon Class: ========================== CIcon Class ========================== .. toctree:: :maxdepth: 1 +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Quick Ref** | +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CIcon\:\:RenderIcon**\(:ref:`CPoint`\& pos, :ref:`CSize`\& size, :ref:`CRect`\& rBoundingBox, :ref:`CResRef`\& cResIcon, unsigned long dwFlags, unsigned short wCount, int bForceCount, unsigned short wSecondCount, int bForceSecondCount, :ref:`CRect`\& rClipIn, int transVal) | +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ---- --------------- Methods --------------- +----------------------------------------------------------+-----------------------------------------------------------------------------------------+ | **Name** | **Description** | +----------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CIcon\:\:RenderIcon` | Render an icon | +----------------------------------------------------------+-----------------------------------------------------------------------------------------+ .. _CIconRenderIcon: CIcon\:\:RenderIcon ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Render an icon :: void CIcon::RenderIcon( CPoint& pos, CSize\& size, CRect& rBoundingBox, CResRef& cResIcon, unsigned long dwFlags, unsigned short wCount, int bForceCount, unsigned short wSecondCount, int bForceSecondCount, CRect& rClipIn, int transVal); **Parameters** * :ref:`CPoint`\& *pos* - x and y coordinates of icon position * :ref:`CSize`\& *size* - width and height of icon * :ref:`CRect`\& *rBoundingBox* - bounding rectangle of icon * :ref:`CResRef`\& *cResIcon* - resource reference of icon to render * ``unsigned long`` *dwFlags* - * ``unsigned short`` *wCount* - * ``int`` *bForceCount* - * ``unsigned short`` *wSecondCount* - * ``int`` *bForceSecondCount* - * :ref:`CRect`\& *rClipIn* - clipping rectangle * ``int`` *transVal* - **Remarks**